﻿using System.Windows;
using Baosight.ZNH.ZMCommon;
using Baosight.ZNH.ZMCommon.ChildWindows;

namespace Baosight.ZNH.ZM.UI.PopWindows
{
    public partial class TernateDetail : EFViewCmes
    {
        public TernateDetail(string dialogType)
        {
            InitializeComponent();
        }

        /// <summary>
        /// 返回按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void CancelClick(object sender, RoutedEventArgs e)
        {
            CmesWindows _window = this.Parent as CmesWindows;
            _window.DialogResult = true;
            _window.Close();
        }
    }
}
